package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Category;
import com.itheima.util.Result;

public interface ICategoryService extends IService<Category> {

    Result addCategory(Category category);

    Result updateCategory(Category category);

    Result seleteList();

    IPage getPage(int current, int pageSize);
}
